package online.yangcloud.common.model.business.database;

/**
 * @author zhuboyang
 * @since 2024年03月20 09:52:32
 */
public class ColumnInfoBusiness {

    /**
     * 字段名称
     */
    private String columnName;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 可执行 SQL
     */
    private String sql;

    private ColumnInfoBusiness() {
    }

    public static ColumnInfoBusiness builder() {
        return new ColumnInfoBusiness();
    }

    public String getColumnName() {
        return columnName;
    }

    public ColumnInfoBusiness setColumnName(String columnName) {
        this.columnName = columnName;
        return this;
    }

    public String getTableName() {
        return tableName;
    }

    public ColumnInfoBusiness setTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    public String getSql() {
        return sql;
    }

    public ColumnInfoBusiness setSql(String sql) {
        this.sql = sql;
        return this;
    }

    @Override
    public String toString() {
        return "ColumnInfoBusiness["
                + " columnName=" + columnName + ","
                + " tableName=" + tableName + ","
                + " sql=" + sql
                + " ]";
    }
}
